package campus.util;

import java.util.HashMap;
import java.util.Map;

public class ErrorUtil {

    private static int code=-1;

    public static Map<String,Object> errorResult(String msg){
        Map<String,Object> result=new HashMap<String, Object>();
        result.put("code", code);
        result.put("msg", msg);
        return result;
    }


}
